﻿<%@ Page Language="C#" MasterPageFile="~/PaginaPrincipal.master" AutoEventWireup="true" CodeFile="AComision.aspx.cs" Inherits="AComision" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" style="width: 458px; height: 231px; text-align: left;">
        <tr>
            <td colspan="2" style="text-align: center">
                <asp:Label ID="Label1" runat="server" Text="Agregar Comision" Font-Size="Larger" Width="240px"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="2">
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="lblComision" runat="server" Text="Comision:"></asp:Label></td>
            <td style="width: 100px">
                <asp:TextBox ID="txtComision" runat="server"></asp:TextBox>
                <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="lblAñoEspecialidad" runat="server" Text="Año Especialidad:" Width="114px"></asp:Label></td>
            <td style="width: 100px">
                <asp:TextBox ID="txtAñoEspecialidad" runat="server"></asp:TextBox>
                <asp:Label ID="Label5" runat="server" ForeColor="Red" Text="*"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label4" runat="server" Text="Plan:" Width="98px"></asp:Label></td>
            <td style="width: 100px">
                <asp:DropDownList ID="ddPlan" runat="server" AutoPostBack="True" DataSourceID="odsPlan"
                    DataTextField="Descripcion" DataValueField="IdPlan" Width="159px">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label2" runat="server" Text="* campos obligatorios" Width="151px" ForeColor="Red"></asp:Label></td>
            <td style="width: 100px">
                </td>
        </tr>
        <tr>
            <td style="width: 100px; height: 19px;">
            </td>
            <td style="width: 100px; height: 19px;">
            </td>
        </tr>
        <tr>
            <td colspan="2" style="height: 19px">
                <asp:Label ID="lblError" runat="server" Width="407px"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 100px; height: 19px">
            </td>
            <td style="width: 100px; height: 19px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px; height: 19px">
                <asp:Button ID="btnAgregar" runat="server" Text="Agregar" Width="106px" /></td>
            <td style="width: 100px; height: 19px">
                <asp:Button ID="btnAtras" runat="server" Text="Atras" Width="109px" /></td>
        </tr>
    </table>
    <br />
    <asp:ObjectDataSource ID="odsPlan" runat="server" DataObjectTypeName="Entidades.Plan"
        DeleteMethod="eliminarPlan" InsertMethod="insertPlan" SelectMethod="getPlanes"
        TypeName="Negocio.Plan" UpdateMethod="modificaPlan"></asp:ObjectDataSource>
</asp:Content>

